package com.example.demos.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigInteger;
import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmpAccessDTO {
    private BigInteger uuid;
    private String username;
    private String names;
    private BigInteger gender;
    private String email;
    private String tele;
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime birthday;
    private String depName;
}
